package com.chen.pojo.entry;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * @author chen
 * @version 1.0
 * @create_date 2025/8/20
 * 角色实体类
 */
@Data
@TableName("tb_role")
public class Role {
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer roleId;
    private String roleCode;
    private String roleName;
}
